package edu.tongji.structureplayer.structure
{
    
    public class SectionConstant extends BaseStructure
    {
        private var _crossArea:Number;
        private var _secondMomentOfArea:Number;
        
        public function SectionConstant(name:String, crossArea:Number, secondMomentOfArea:Number)
        {
            _crossArea = crossArea;
            _secondMomentOfArea = secondMomentOfArea;
            super(name);
        }

        public function get crossArea():Number
        {
            return _crossArea;
        }

        public function set crossArea(value:Number):void
        {
            _crossArea = value;
        }

        public function get secondMomentOfArea():Number
        {
            return _secondMomentOfArea;
        }

        public function set secondMomentOfArea(value:Number):void
        {
            _secondMomentOfArea = value;
        }
        
        public function debugPrint():void
        {
            trace("SectionConstant " + name + "(" + _crossArea + ", " + _secondMomentOfArea + ")");
        }

    }
}